package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_service;
import cn.com.api.mapper.ApiU_serviceMapper;

/**
 * 
 **/
@Service
public class U_serviceServiceImplBase {
	@Autowired
	private ApiU_serviceMapper apiU_serviceMapper;

	// 根据id获取
	public ApiU_service findU_serviceById(Integer id) {
		ApiU_service u_service = apiU_serviceMapper.findU_serviceById(id);
		return u_service;
	}

	// 查看数据集
	public List<ApiU_service> findU_services() {
		List<ApiU_service> u_services = apiU_serviceMapper.findU_services();
		return u_services;
	}

	// 添加
	public int insertU_service(ApiU_service u_service) {
		int ret_I = apiU_serviceMapper.insertU_service(u_service);
		return ret_I;
	}

	// 修改
	public int updateU_service(ApiU_service u_service) {
		int ret_I = apiU_serviceMapper.updateU_service(u_service);
		return ret_I;
	}

	// 删除
	public int deleteU_service(Integer id) {
		int ret_I = apiU_serviceMapper.deleteU_service(id);
		return ret_I;
	}

	// Foreign keys revelant

	// region Indexs revelant

}
